package Chess;

public enum chessType{

    //黑方棋子及其图片路径
	blackBishop("images/blackBishop.png"),
	blackKing("images/blackKing.png"),
	blackKnight("images/blackKnight.png"),
	blackPawn("images/blackPawn.png"),
	blackQueen("images/blackQueen.png"),
	blackRook("images/blackRook.png"),
	
	//白方棋子及其图片路径
	whiteBishop("images/whiteBishop.png"),
	whiteKing("images/whiteKing.png"),
	whiteKnight("images/whiteKnight.png"),
	whitePawn("images/whitePawn.png"),
	whiteQueen("images/whiteQueen.png"),
	whiteRook("images/whiteRook.png");

    //
    private String path;

    private chessType(String s){
        this.path = s;
    }

    public  String getPath() {
        return path;
    }

}
